//
//  Utilities.m
//  SocialChair
//
//  Created by Kelly Heffner Wilkerson on 9/27/10.
//  Copyright 2010 Decipher Media, LLC. All rights reserved.
//

#import "Utilities.h"


@implementation Utilities

// simple class function to look up the user's documents directory within the app
+(NSString*)documentDirectoryPath {
	NSString *documentDirectoryPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];
	return documentDirectoryPath;
}

//Xin Shu: get the Filename
+(NSString*)getFilename {
	
	NSString *documentDirectoryPath = [ self documentDirectoryPath];
	//reture name and file type of saving file
	return [documentDirectoryPath stringByAppendingPathComponent: @"notes.plist" ]; 
	
}
@end
